WP_STATISTICS\Helper D

Total Complexity 312
Dependencies 19
Dependents 76
Total lines 2,069
Lines of code 1,090
Logical lines of code 607
Comment lines 655
Methods 91
Properties 0

Methods 91

Method Rating Maintainability Complexity Lines of code
mysql_time_conditions()
D
29
34 120
send_mail()
A
36 14 73
checkActiveCachePlugin()
A
50 10 28
is_request()
A
59 10 14
get_html_page()
A
50 9 26
getConditionSQL()
A
52 9 24
is_login_page()
A
53 9 20
FilterQueryStringUrl()
S
49 7 29
get_upload_url()
S
58 7 13
getReportEmailTip()
S
40 3 69
getDefaultDateFormat()
S
56 6 18
get_list_taxonomy()
S
55 6 18
get_site_title_by_url()
S
55 6 18
calculatePercentageChange()
S
58 5 16
dntEnabled()
S
68 6 6
formatNumberWithUnit()
S
59 5 13
get_date_install_plugin()
S
54 4 21
getAverageRegisterUser()
S
55 4 19
getAveragePost()
S
55 4 19
getAverageComment()
S
55 4 19
calculateDateDifference()
S
57 4 15
json_to_array()
S
66 5 7
shouldTrackAnonymously()
S
66 5 7
convertBytes()
S
60 4 13
checkUrlForParams()
S
61 4 13
validateHitRequest()
S
49 2 34
is_gutenberg()
S
73 4 4
compare_uri_hits_int()
S
71 4 5
is_rest_request()
S
63 4 10
checkMemoryLimit()
S
63 4 10
getHitsDefaultParams()
S
59 3 14
getPostTypesByTaxonomy()
S
63 3 11
get_post_list()
S
57 2 16
getPostTypeName()
S
68 3 7
get_default_query_params_allow_list()
S
70 3 5
isAdminBarShowing()
S
73 3 4
getTaxonomyName()
S
68 3 7
getTableColumnSortUrl()
S
65 3 8
get_query_params_allow_list()
S
64 3 9
get_robots_list()
S
66 3 8
send_sms()
S
67 3 7
show_site_icon()
S
64 3 8
standard_json_encode()
S
64 3 9
getRequestUri()
S
69 3 6
injectionPatterns()
S
52 1 30
GenerateRgbaColor()
S
61 2 11
getDeviceCategoryName()
S
69 2 6
isAddOnActive()
S
67 2 7
checkMiniChartOption()
S
77 2 3
yieldARow()
S
67 2 8
divideNumbers()
S
70 2 6
urlToDir()
S
64 2 10
prepareArrayToStringForQuery()
S
68 2 7
get_wp_sites_list()
S
67 2 8
random_string()
S
65 2 8
isCustomTaxonomy()
S
69 2 7
get_list_post_type()
S
64 2 9
SortByKeyValue()
S
68 2 7
strip_array_indices()
S
69 2 7
set_all_option_datepicker()
S
74 2 4
get_updated_list_post_type()
S
71 2 5
isAssoc()
S
69 2 6
get_screen_id()
S
72 2 5
isCustomPostType()
S
74 2 4
isBypassAdBlockersRequest()
S
77 2 3
getCountPosts()
S
67 2 8
getCountPages()
S
67 2 8
getStartOfWeek()
S
75 1 4
get_file_path()
S
78 1 3
getWebsitePerformanceSummary()
S
75 1 4
get_uploads_dir()
S
74 1 4
geoIPTools()
S
79 1 3
isRequestSignatureEnabled()
S
79 1 3
getDefaultPostTypes()
S
71 1 5
getCustomPostTypes()
S
76 1 3
getPostTypes()
S
79 1 3
getLastPostDate()
S
69 1 6
check_url_scheme()
S
74 1 4
get_wordpress_version()
S
80 1 3
get_domain_name()
S
69 1 6
getTimezoneCountry()
S
73 1 5
getCountUsers()
S
75 1 4
IsPostPublished()
S
79 1 3
RemoveQueryStringUrl()
S
78 1 3
filterArrayByKeys()
S
78 1 3
getUrlDecode()
S
78 1 3
compare_uri_hits()
S
79 1 3
makeAnonymousVersion()
S
68 1 6
getCountComment()
S
72 1 5
getCountSpam()
S
79 1 3
isJson()
S
75 1 4